package com.aaa.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Test_plan {
    private Integer id;
    private String test_name;
    private Integer test_code;
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date test_begin;
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date test_end;
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date create_time;
    private String create_by;
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date update_time;
    private String update_by;
    private String remark;
    private Integer page;
    private Integer limit;
    private String field;
    private String order;
    private String test_type;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTest_name() {
        return test_name;
    }

    public void setTest_name(String test_name) {
        this.test_name = test_name;
    }

    public Integer getTest_code() {
        return test_code;
    }

    public void setTest_code(Integer test_code) {
        this.test_code = test_code;
    }

    public Date getTest_begin() {
        return test_begin;
    }

    public void setTest_begin(Date test_begin) {
        this.test_begin = test_begin;
    }

    public Date getTest_end() {
        return test_end;
    }

    public void setTest_end(Date test_end) {
        this.test_end = test_end;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public String getCreate_by() {
        return create_by;
    }

    public void setCreate_by(String create_by) {
        this.create_by = create_by;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    public String getUpdate_by() {
        return update_by;
    }

    public void setUpdate_by(String update_by) {
        this.update_by = update_by;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public String getField() {
        return field;
    }

    public void setField(String field) {
        this.field = field;
    }

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }

    public String getTest_type() {
        return test_type;
    }

    public void setTest_type(String test_type) {
        this.test_type = test_type;
    }

    public Test_plan() {
    }

    public Test_plan(Integer id, String test_name, Integer test_code, Date test_begin, Date test_end, Date create_time, String create_by, Date update_time, String update_by, String remark, Integer page, Integer limit, String field, String order, String test_type) {
        this.id = id;
        this.test_name = test_name;
        this.test_code = test_code;
        this.test_begin = test_begin;
        this.test_end = test_end;
        this.create_time = create_time;
        this.create_by = create_by;
        this.update_time = update_time;
        this.update_by = update_by;
        this.remark = remark;
        this.page = page;
        this.limit = limit;
        this.field = field;
        this.order = order;
        this.test_type = test_type;
    }

    @Override
    public String toString() {
        return "Test_plan{" +
                "id=" + id +
                ", test_name='" + test_name + '\'' +
                ", test_code=" + test_code +
                ", test_begin=" + test_begin +
                ", test_end=" + test_end +
                ", create_time=" + create_time +
                ", create_by='" + create_by + '\'' +
                ", update_time=" + update_time +
                ", update_by='" + update_by + '\'' +
                ", remark='" + remark + '\'' +
                ", page=" + page +
                ", limit=" + limit +
                ", field='" + field + '\'' +
                ", order='" + order + '\'' +
                ", test_type='" + test_type + '\'' +
                '}';
    }
}
